package com.neo.category;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
//可以被feign发现被使用
@EnableDiscoveryClient
//是指定common包下，要加载feign的地址
@EnableFeignClients(basePackages = "com.neo.common.feign")
public class CategoryApplication {

  public static void main(String[] args) {
    SpringApplication.run(CategoryApplication.class, args);
  }

}
